﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Stocks.aspx.cs" Inherits="FalconSystemCatalogWebsite.Pages.Stocks" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
        <div>
            <telerik:RadListView ID="StockRadListView" runat="server" ItemPlaceholderID="ProductsContainer">
                <LayoutTemplate>
                    <fieldset>
                        <legend>Productos</legend>
                        <asp:PlaceHolder ID="ProductsContainer" runat="server"></asp:PlaceHolder>
                    </fieldset>
                </LayoutTemplate>
                <ItemTemplate>
                    <fieldset>
                        <legend><%#Eval("Name")%></legend>
                        <telerik:RadBinaryImage ID="StockPreviewBinaryImage" Width="100px" runat="server" DataValue='<%# GetStockImage(Eval("StockId")) %>' />                        
                         <br />                        
                        <asp:Label ID="lblStockName" runat="server" Text='<%# Eval("Name") %>'></asp:Label>
                    </fieldset>
                </ItemTemplate>
            </telerik:RadListView>
        </div>
    </form>
</body>
</html>
